package com.kaibes.platform.member.util;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.kaibes.platform.member.db.Member;
import com.kaibes.platform.member.db.MemberService;

@Component
public class MemberUtils {

    @Autowired
    private MemberService memberService;
    
    public Member getMember(Integer userId) {
        return memberService.getByUserId(userId);
    }
}
